{% load static %}
<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- <link rel="icon" href="../../favicon.ico"> -->
    <title>校园活动管理系统 - 登录</title>
    <link href="{% static 'dashboard/css/bootstrap.min.css' %}" rel="stylesheet">
    <link href="{% static 'dashboard/css/dashboard.css' %}" rel="stylesheet">
</head>

<body>

    <div class="container">

        <form class="form-signin" action='/dashboard/login/' method='post'>
            {% csrf_token %}
            <h2 class="form-signin-heading text-center"> <span class="glyphicon glyphicon-education"
                    aria-hidden="true"></span> 校园活动管理系统</h2>
            <label for="inputUsername" class="sr-only">Username</label>
            <input type="text" id="uname" name="uname" class="form-control" placeholder="用户名" required autofocus>
            <label for="inputPassword" class="sr-only">Password</label>
            <input type="password" id="pwd" name="pwd" class="form-control" placeholder="密码" required>
            <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
        </form>
        {% if info %}<p><strong>{{ info }}</strong></p>{% endif %}
    </div>
    <!-- <script type="text/javascript" src="{% static '/javascript/form_check.js' %}"></script> -->
</body>

</html>